﻿using System.Text.Json.Serialization;
using FanaticRock.MediaSource.BilibiliAPI.Enums;

namespace FanaticRock.MediaSource.BilibiliAPI.ResponseDto.Player
{
    public class FormatDto : BaseDto
    {
        [JsonPropertyName("quality")]
        public QnEnum Quality { get; set; }

        [JsonPropertyName("format")]
        public string Format { get; set; }

        [JsonPropertyName("new_description")]
        public string Description { get; set; }

        [JsonPropertyName("display_desc")]
        public string DisplayDescription { get; set; }

        [JsonPropertyName("superscript")]
        public string SuperScript { get; set; }

        [JsonPropertyName("codecs")]
        public string[] Codecs { get; set; }
    }
}
